#ifndef KEYBOARD_H
#define KEYBOARD_H

#include <OISKeyboard.h>
#include "yaef_input.h"

class Keyboard: public InputDevice, public OIS::KeyListener
{
  OIS::Keyboard* _keyboard;

public:
  Keyboard(QObject* parent=0);

  virtual void capture();
  virtual void init(OIS::InputManager* manager);

  virtual bool keyPressed(const OIS::KeyEvent &arg);
  virtual bool keyReleased(const OIS::KeyEvent &arg);
};

#endif // KEYBOARD_H
